<?php
/**
 * 组件管理Control类
 * @file		ComponentsControl.class.php
 * @author     	itkele@gmail.com
 * @date       	2013-06-14
 * modify       
 */
class ComponentsControl extends Control{
	
	public function __construct(){
		parent::__construct();
		$this->assign('mainMenu','components');
	}

	public function index(){
		echo 'Components';
		$this->componentsList();


	}

	/**
	 * 组件列表
	 *
	 *
	 */
	public function componentsList(){
		return M('Components')->extensionsList();
	}

}